﻿@model iTravel.Data.Flight

@{
    ViewBag.Title = "Details";
    Layout = "~/Views/Shared/_Layout.cshtml";
}

<h2>Details</h2>

<fieldset>
    <legend>Flight</legend>

    <div class="display-label">Start</div>
    <div class="display-field">@String.Format("{0:g}", Model.Start)</div>

    <div class="display-label">End</div>
    <div class="display-field">@String.Format("{0:g}", Model.End)</div>

    <div class="display-label">Number</div>
    <div class="display-field">@Model.Number</div>
</fieldset>
<p>
    @Html.ActionLink("Edit", "Edit", new { id=Model.Id }) |
    @Html.ActionLink("Back to List", "Index")
</p>

